|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
StandardAttributes.java | - | 100% | 100% | 100% |
|
1 |
/*
|
|
2 |
* $Id: StandardAttributes.java,v 1.1 2004/12/15 14:18:10 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.model;
|
|
10 |
|
|
11 |
import org.xml.sax.Attributes;
|
|
12 |
|
|
13 |
/**
|
|
14 |
* This class represents BPEL element standard attributes.
|
|
15 |
*
|
|
16 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
|
|
17 |
* @author Patric Fornasier
|
|
18 |
* @author Pawel Kowalski
|
|
19 |
*/
|
|
20 |
public class StandardAttributes implements AttributeNames { |
|
21 |
|
|
22 |
private String name;
|
|
23 |
|
|
24 |
private String joinCondition;
|
|
25 |
|
|
26 |
private String suppressJoinFailure;
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Create new instance of StandardAttributes with the given
|
|
30 |
* <code>org.xml.sax.Attributes</code>.
|
|
31 |
*
|
|
32 |
* @param attributes
|
|
33 |
*/
|
|
34 | 164 |
public StandardAttributes(Attributes attributes) {
|
35 | 164 |
name = attributes.getValue(NAME); |
36 | 164 |
joinCondition = attributes.getValue(JOIN_CONDITION); |
37 | 164 |
suppressJoinFailure = attributes.getValue(SUPPRESS_JOIN_FAILURE); |
38 |
} |
|
39 |
|
|
40 |
/**
|
|
41 |
* Get the joinCondition attribute value.
|
|
42 |
*
|
|
43 |
* @return Returns the joinCondition.
|
|
44 |
*/
|
|
45 | 164 |
public String getJoinCondition() {
|
46 | 164 |
return joinCondition;
|
47 |
} |
|
48 |
|
|
49 |
/**
|
|
50 |
* Get the name attribute value.
|
|
51 |
*
|
|
52 |
* @return Returns the name.
|
|
53 |
*/
|
|
54 | 164 |
public String getName() {
|
55 | 164 |
return name;
|
56 |
} |
|
57 |
|
|
58 |
/**
|
|
59 |
* Get the suppressJoinFailure attributes value.
|
|
60 |
*
|
|
61 |
* @return Returns the suppressJoinFailure.
|
|
62 |
*/
|
|
63 | 164 |
public String getSuppressJoinFailure() {
|
64 | 164 |
return suppressJoinFailure;
|
65 |
} |
|
66 |
} |
|